#include("../common/_layout.html")
#include("../common/_navbar.html")
#@layout()

#define content()
	#@navbar("setting")
	<div class="container">
		<h1>设置</h1>
		<a href="https://api.weibo.com/oauth2/authorize?client_id=#(weibo_appid ??)&response_type=code&redirect_uri=http://#(weibo_url ??)/account/weiboBinding" target="_blank" class="btn btn-danger" role="button" id="weiboBinding">
			绑定微博
		</a>
		#if(currentUser.username == admin_username)
		<a href="#(homeurl ??)/manage" target="_self" class="btn btn-primary" role="button">
			后台管理
		</a>
		#end
	</div>
#end

#define css()
<style type="text/css">
</style>
#end